﻿// <copyright file="ChessPiece.cs" company="ALCPU">
// Copyright (c) 2010 All Right Reserved
// </copyright>
// <author>Arthur Liberman</author>
// <email>Arthur_Liberman@hotmail.com</email>
// <date>04-07-2010</date>
// <summary>Defines a base class for all the chess pieces.</summary>

namespace Chess.Figures
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ChessDefinitions;

    /// <summary>
    /// The base class for all the chess pieces
    /// </summary>
    public abstract class ChessPiece : PieceBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ChessPiece"/> class.
        /// </summary>
        /// <param name="color">The piece color.</param>
        /// <param name="gameboard">The gameboard.</param>
        /// <param name="position">The starting position.</param>
        public ChessPiece(IPieceColor color, Gameboard gameboard, Position position)
            : base(color, gameboard, position)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ChessPiece"/> class.
        /// </summary>
        /// <param name="piece">The piece.</param>
        public ChessPiece(IPiece piece)
            : base(piece)
        {
        }
    }
}
